package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author ZhangXiXi
 * @Description 查询敏感词列表
 * @date 2021/2/5 10:15
 * @Version 1.0
 */
public interface AdSensitiveService extends IService<AdSensitive> {
             /**
            *@Description:查询敏感词
            *@Parameter:
            *@Return:
            **/
    public ResponseResult list(SensitiveDto dto);
             /**
            *@Description:保存敏感词
            *@Parameter:
            *@Return:
            **/
    public ResponseResult insert(AdSensitive  adSensitive);
             /**
            *@Description:修改敏感词
            *@Parameter:
            *@Return:
            **/
    public ResponseResult update(AdSensitive adSensitive);
             /**
            *@Description:删除敏感词
            *@Parameter:
            *@Return:
            **/
    public ResponseResult delete(Integer id);
}
